<?php
  require(dirname(__FILE__).'/global.php');
  
  $profile = $xml->getElementValue('Profile');
  $profile = !empty($profile) ? $profile : '暂无';
  $smarty->assign("profile",$profile);
  $smarty->display("profile.html");
  
  $db->close();
  $log->logInfo("[URL]$visitorURL");
?>
